package com.code.softeem.abstracttest;

public abstract class Student extends People{

    private String major;

    public Student() {
    }

    public Student(String name, String major) {
        super(name);
        this.major = major;
    }

    public Student(String major) {
        this.major = major;
    }

    public abstract void sleep();

    public void eat(){
        System.out.println("喜欢吃肯德基 v我50");
    }
}
